class Config:
    # GTE模型路径
    GTE_model_path = r'/data/other_pc/damo/nlp_gte_sentence-embedding_chinese-base'
    # redis IP
    redis_host = '127.0.0.1'
    # redis端口号
    redis_port = 6379
    # redis库
    redis_db = 5
    # redis连接池最大连接数
    redis_max_connections = 20
    # 正则规则文件
    regex_rules_file_path = r"E:\work\other-pc\server\regex_config\regex_rules.json"
    # 正则 config文件夹路径
    regex_config_folder_path = r"E:\work\other-pc\server\regex_config"
    # FAQ阈值
    FAQ_threshold = 0.88
    # 是否走FAQ
    go_FAQ = True
    # QA文件路径
    QA_file_path = r"E:\work\other-pc\server\FAQ_config\QA_fuben.json"
    # KV文件路径
    KV_file_path = r"E:\work\other-pc\server\FAQ_config\KV.json"
    # # 遗忘时间差阈值文件路径
    # forget_time_diff_threshold_file_path = r"/root/Langchain-Chatchat/server/FAQ/forget_time_diff_threshold.json"
    # FAQ模型路径
    FAQ_model_path = r"E:\work\Langchain-Chatchat-master\damo\nlp_structbert_faq-question-answering_chinese-base"
